<!-- 类目简介 -->
<template>
  <div class='categoryIntroduction'>
    <h4 class="category">{{titleName}}</h4>
    <slot :name="slotName" :data="resumeInfo"></slot>
  </div>
</template>
<script>

export default {
  components: {},
  data () {
    return {};
  },
  props: {
    titleName: {
      type: String,
      default: ''
    },
    slotName: {
      type: String,
      default: ''
    },
    resumeInfo: {
      type: Object | Array,
      default: () => {
        return {}
      }
    }
  },
  computed: {},
  watch: {},
  methods: {

  },
  created () {

  },
  mounted () {

  },
  beforeCreate () { },
  beforeMount () { },
  beforeUpdate () { },
  updated () { },
  beforeDestroy () { },
  destroyed () { },
  activated () { },
}
</script>
<style scoped>
.categoryIntroduction {
    margin-top: 24px;
}
.category {
    font-size: 14px;
    font-family: PingFang SC;
    font-weight: 600;
    color: rgba(34, 34, 34, 1);
    position: relative;
    margin: 0px 0px 15px 0;
}
.category::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: rgba(24, 147, 252, 1);
    opacity: 1;
    border-radius: 2px;
    position: absolute;
    bottom: -5px;
    left: 0px;
}
</style>